/**
 * Copyright (c) 2016-2019 人人开源 All rights reserved.
 *
 * https://www.renren.io
 *
 * 版权所有，侵权必究！
 */

package io.renren.controller;

import io.renren.annotation.Login;
import io.renren.annotation.LoginUser;
import io.renren.common.service.RecVedioInfoService;
import io.renren.common.utils.R;
import io.renren.entity.UserEntity;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import springfox.documentation.annotations.ApiIgnore;

/**
 *
 * 视频 模块
 */
@RestController
@RequestMapping("/vedio")
@Api(tags="视频 模块")
@CrossOrigin
public class VedioController {


    @Autowired
    private RecVedioInfoService recVedioInfoService;




    @GetMapping("selectHomeVedioList")
    @ApiOperation("查询首页视频列表")
    public R selectHomeVedioList(){




        return R.ok().put("data", recVedioInfoService.queryHonePage());
    }

}
